package com.seppius.i18n.plurals;
/**
 * Plural rules for the following locales and languages:
 *
 * Locales: ga se sma smi smj smn sms
 * 
 * Languages:
 *  Irish (ga)
 *  Northern Sami (se)
 *  Southern Sami (sma)
 *  Sami Language (smi)
 *  Lule Sami (smj)
 *  Inari Sami (smn)
 *  Skolt Sami (sms)
 *
 * Rules:
 *  one → n is 1;
 *  two → n is 2;
 *  other → everything else
 *
 * Reference CLDR Version 1.9 beta (2010-11-16 21:48:45 GMT)
 * @see http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
 * @see http://unicode.org/repos/cldr/trunk/common/supplemental/plurals.xml
 * @see plurals.xml (local copy)
 *
 * @package    I18n_Plural
 * @category   Plural Rules
 * @author     Korney Czukowski
 * @copyright  (c) 2011 Korney Czukowski
 * @license    MIT License
 */

/**
 * Converted to Java by Sam Marshak, 2012 
 */
public class PluralRules_Two extends PluralRules
{
	public int quantityForNumber(int count)
	{
		if (count == 1)
		{
			return QUANTITY_ONE;
		}
		else if (count == 2)
		{
			return QUANTITY_TWO;
		}
		else
		{
			return QUANTITY_OTHER;
		}
	}
}